<template>
    <view class="time-scope-c data-v-ad390816">
        <block v-if="status !== 'expired'">
            <text class="dd data-v-ad390816" v-if="time.day">
                <label class="time-block _span data-v-ad390816">{{ time.day }}</label>
                天
            </text>
            <view class="time data-v-ad390816" v-if="time.hour">
                <label class="time-block _span data-v-ad390816">{{ $root.f0 }}</label>
                时
            </view>
            <view class="time data-v-ad390816">
                <label class="time-block _span data-v-ad390816">{{ $root.f1 }}</label>
                分
            </view>
            <view class="ss data-v-ad390816">
                <label class="time-block _span data-v-ad390816">{{ $root.f2 }}</label>
                秒后失效
            </view>
        </block>
        <view class="data-v-ad390816" v-else>{{ '' + endText + '' }}</view>
    </view>
</template>

<script>
import tabBar from '@/components/TabBar/tabBar';
(global.webpackJsonp = global.webpackJsonp || []).push([
    ['components/CountDown/theme/ZhuliTheme'],
    {
        '45aa': function (e, t, n) {
            'use strict';

            Object.defineProperty(t, '__esModule', {
                value: true
            });
            t.default = void 0;
            var o = {
                props: {
                    time: {
                        type: Object
                    },
                    status: {
                        type: String
                    },
                    endText: {
                        type: String
                    }
                },
                data: function () {
                    return {};
                },
                filters: {
                    fixNumber: function (e) {
                        if (e < 10) {
                            e = '0' + (e || 0);
                        }
                        return e;
                    }
                },
                watch: {},
                destroyed: function () {},
                methods: {}
            };
            t.default = o;
        },
        5879: function (e, t, n) {
            'use strict';

            n.r(t);
            var o = n('45aa');
            var u = n.n(o);
            for (var c in o) {
                if (['default'].indexOf(c) < 0) {
                    (function (e) {
                        n.d(t, e, function () {
                            return o[e];
                        });
                    })(c);
                }
            }
            t.default = u.a;
        },
        '85c3': function (e, t, n) {
            'use strict';

            n.d(t, 'b', function () {
                return o;
            });
            n.d(t, 'c', function () {
                return u;
            });
            n.d(t, 'a', function () {});
            var o = function () {
                var that = this;
                var t = (that.$createElement, that._self._c, 'expired' !== that.status && that.time.hour ? that._f('fixNumber')(that.time.hour) : null);
                if ('expired' !== that.status) {
                    var n = that._f('fixNumber')(that.time.minute);
                } else {
                    var n = null;
                }
                if ('expired' !== that.status) {
                    var o = that._f('fixNumber')(that.time.second);
                } else {
                    var o = null;
                }
                that.$mp.data = Object.assign(
                    {},
                    {
                        $root: {
                            f0: t,
                            f1: n,
                            f2: o
                        }
                    }
                );
            };
            var u = [];
        },
        '9c12': function (e, t, n) {
            'use strict';

            var o = n('eb0c');
            n.n(o).a;
        },
        eb0c: function (e, t, n) {},
        fbfc: function (e, t, n) {
            'use strict';

            n.r(t);
            var o = n('85c3');
            var u = n('5879');
            for (var c in u) {
                if (['default'].indexOf(c) < 0) {
                    (function (e) {
                        n.d(t, e, function () {
                            return u[e];
                        });
                    })(c);
                }
            }
            n('9c12');
            var r = n('f0c5');
            var i = Object(r.a)(u.default, o.b, o.c, false, null, 'ad390816', null, false, o.a, void 0);
            t.default = i.exports;
        }
    }
]);
(global.webpackJsonp = global.webpackJsonp || []).push([
    'components/CountDown/theme/ZhuliTheme-create-component',
    {
        'components/CountDown/theme/ZhuliTheme-create-component': function (e, t, n) {
            n('543d').createComponent(n('fbfc'));
        }
    },
    [['components/CountDown/theme/ZhuliTheme-create-component']]
]);
</script>
<style>
@import './ZhuliTheme.css';
</style>
